/*
 * @Author: zwc 6537397+uni-yunApp@user.noreply.gitee.com
 * @Date: 2023-03-17 11:50:28
 * @LastEditors: zwc 6537397+uni-yunApp@user.noreply.gitee.com
 * @LastEditTime: 2023-03-17 11:57:51
 * @FilePath: \project-template\src\store\system\system.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AES
 */
import { defineStore } from 'pinia'
 const useSystemStore = defineStore('system', {
  // 推荐使用 完整类型推断的箭头函数
  state: () => {
    return {
     isOpen:false
    }
  },
  actions:{
    setStatus(value:boolean){
      this.isOpen = value
      console.log('this.isOpen',this.isOpen)
    }
  }
})

export default useSystemStore